package com.zxb.order.dao;

import com.zxb.order.entity.OrderEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderDao {


    @Select("select * from t_order where user_id=#{userId}")
    List<OrderEntity> listByUserId(Integer userId);

}
